package ruler.rules.activities;

import java.util.List;
import ruler.main.R;
import ruler.rules.Rule;
import ruler.rules.Rule.DEVICE_TYPE;
import android.os.Bundle;
import android.widget.TextView;

public class WifiRulesListActivity extends RulesListActivity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		TextView textViewEnable = (TextView) findViewById(R.id.textEnable);
		textViewEnable.setText("Wifi Enable Rules");
		TextView textViewDisable = (TextView) findViewById(R.id.textDisable);
		textViewDisable.setText("Wifi Disable Rules");
	}

	@Override
	protected List<Rule> setEnableRules() {
		return app.getRules(DEVICE_TYPE.WIFI,true);
	}

	@Override
	protected List<Rule> setDisableRules() {
		return app.getRules(DEVICE_TYPE.WIFI,false);
	}

}
